package com.web.exiaodao.business.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
import com.web.webstart.base.entity.BaseEntity;

/**
 * @author eason
 * @ClassName: festivalRemind
 * @Description: 节日提醒定义表
 * @date 2015年3月23日 下午1:00:00
 */
@Entity
@Table(name = "tb_xa_festivalremind")
@ApiModel(value = "节日提醒定义表")
public class FestivalRemind extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "姓名,纪念日对应的姓名")
    private String name;
    @ApiModelProperty(value = "手机,提醒手机的号码")
    private String cellphone;
    @ApiModelProperty(value = "日期,节日日期（yyyy-mm-dd），可能公历也可能是农历")
    private String solarFestivalDate;
    @ApiModelProperty(value = "阳历日期,（yyyy-mm-dd），只有阴历该字段才会有值,保存当年阴历对应的阳历日期")
    private String festivalDate;
    @ApiModelProperty(value = "农历，公历;是否是农历,公里，农历（1：农历 0：公历）")
    private Integer isLunarCalendar;
    @ApiModelProperty(value = "提前提醒天数,提前提醒天数")
    private Integer daysDiff;
    @ApiModelProperty(value = "类别,节日类别（1：生日 2:结婚纪念日 3：忌日）")
    private Integer type;
    @ApiModelProperty(value = "用户id")
    private Long userId;

    public void setName(String name) {
        this.name = name;
    }

    @Column(nullable = true, length = 50)
    public String getName() {
        return name;
    }

    public void setCellphone(String cellphone) {
        this.cellphone = cellphone;
    }

    @Column(nullable = true, length = 11)
    public String getCellphone() {
        return cellphone;
    }

    public void setFestivalDate(String festivalDate) {
        this.festivalDate = festivalDate;
    }

    @Column(nullable = true, length = 50)
    public String getFestivalDate() {
        return festivalDate;
    }

    public void setIsLunarCalendar(Integer isLunarCalendar) {
        this.isLunarCalendar = isLunarCalendar;
    }

    @Column(nullable = true, length = 50)
    public String getSolarFestivalDate() {
        return solarFestivalDate;
    }

    public void setSolarFestivalDate(String solarFestivalDate) {
        this.solarFestivalDate = solarFestivalDate;
    }

    @Column(nullable = true, length = 1)
    public Integer getIsLunarCalendar() {
        return isLunarCalendar;
    }

    public void setDaysDiff(Integer daysDiff) {
        this.daysDiff = daysDiff;
    }

    @Column(nullable = true, length = 50)
    public Integer getDaysDiff() {
        return daysDiff;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Column(nullable = true, length = 50)
    public Integer getType() {
        return type;
    }

    @Column(nullable = true, length = 50)
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}
